package com.webchat.pgc.repository.entity.mall;


import com.webchat.pgc.repository.entity.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.util.Date;

/**
 * 电商 店铺
 */
@Data
@Entity
@Table(name = "web_chat_mall_shop")
public class MallShop extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;

    /**
     * 分类名
     */
    @Column(name = "name")
    private String name;

    /**
     * logo
     */
    @Column(name = "logo")
    private String logo;


    @Column(name = "status")
    private Integer status;


    @Column(name = "review_date")
    private Date reviewDate;
}
